<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- 关键代码 -->
    <script th:src="@{/webjars/jquery/3.2.1/dist/jquery.min.js}"></script>
    <script th:src="@{/webjars/bootstrap/4.3.1/js/bootstrap.min.js}"></script>
    <link rel="stylesheet" th:href="@{/webjars/bootstrap/4.3.1/css/bootstrap.min.css}" />
    <link type="text/css" rel="stylesheet" th:href="@{/static/css/style.css}">
</head>
<body>
<form th:action="@{/user/insert}" method="post">

    <table id="userTab" style="border-collapse: collapse">
        <tr>
            <th>姓名：</th>
            <td>
                <input name="username"  />
            </td>
        </tr>
        <tr>
            <th>密码：</th>
            <td>
                <input name="userpwd"  />
            </td>
        <tr>
            <th>性别：</th>
            <td>
                <input type="radio" name="usersex" value="男" />男
                <input type="radio" name="usersex" value="女" />女
            </td>
        </tr>
        </tr>
        <tr>
            <th>用户类型：</th>
            <td>
                <input name="usertype"  />
            </td>
        </tr>

        <tr>
            <th>创建时间：</th>
            <td>
                <input type="date" name="usertime"/>
            </td>
        </tr>
        <tr>
            <th>所属数据库：</th>
            <td>
                <input type="text" name="dbName" />
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="submit" value="Update" />
            </td>
        </tr>

    </table>
</form>

</body>
</html>